package com.itheima.advance.reflect.demo04;

// 学生类
public class Student {

    private void show(){
        System.out.println("Student.....show.....私有的");
    }

    public void function1(){
        System.out.println("Student.....function1.....无参无返回值的方法");
    }

    public void function2(String name){
        System.out.println("Student.....function2.....有参无返回值的方法，参数是：" + name);
    }

    public String function3(){
        System.out.println("Student.....function3.....无参有返回值的方法");
        return "刘亦菲" ;
    }

    public String function4(String name){
        System.out.println("Student.....function4.....有参有返回值的方法，参数是：" + name);
        return "刘亦菲" ;
    }

}
